package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@ApiModel(value = "客户询价单")
@Data
public class CustomerInquiry {

    @ApiModelProperty(hidden = true)
    int id;

    @ApiModelProperty(value = "销售人员id")
    int saleId;

    @ApiModelProperty("询价类型： 1 询价单  2 咨询单")
    int type;

    @ApiModelProperty(value = "客户询价单询价编码", hidden = true)
    String code;

    @ApiModelProperty(hidden = true)
    int cid;

    @ApiModelProperty(value = "销售人员名字")
    String saleName;
    @ApiModelProperty(value = "销售人员电话")
    String mobile;
    @ApiModelProperty(value = "总价")
    String total;
    @ApiModelProperty(value = "运费")
    String yunfei;
    @ApiModelProperty(value ="订单状态:1 待报价\n" +
            "2 已报价\n" +
            "3 确认签约\n"+
            "4 拒接合作\n")
    String status;
    @ApiModelProperty(value = "创建时间")
    LocalDateTime createTime;
    @ApiModelProperty(value = "询价描述")
    String note;
    @ApiModelProperty(value = "更新时间")
    LocalDateTime updateTime;


    @ApiModelProperty("询价明细")
    List<CustomerInquiryDetail> customerInquiryDetails;
}
